package share

// 角色路由中间表
type RoleUser struct {
	RoleID uint `gorm:"column:role_id;index"`
	Role   Role `gorm:"foreignKey:RoleID;reference:ID;constraint:OnDelete:CASCADE"`
	UserID uint `gorm:"column:user_id;index"`
	User   User `gorm:"foreignKey:UserID;reference:ID;constraint:OnDelete:CASCADE"`
}
